package com.didibigdata.entities;

public class OrderGPS {
//    private double[] coord = new double[2];
    private double longitude;
    private double latitude;
    private int weights;

    @Override
    public String toString() {
        return "OrderGPS{" +
                "longitude=" + longitude +
                ", latitude=" + latitude +
                ", weights=" + weights +
                '}';
    }

    public double getLongitude() {
        return longitude;
    }

    public void setLongitude(double longitude) {
        this.longitude = longitude;
    }

    public double getLatitude() {
        return latitude;
    }

    public void setLatitude(double latitude) {
        this.latitude = latitude;
    }

    public int getWeights() {
        return weights;
    }

    public void setWeights(int weights) {
        this.weights = weights;
    }

    public OrderGPS() {
    }

    public OrderGPS(double longitude, double latitude, int weights) {
        this.longitude = longitude;
        this.latitude = latitude;
        this.weights = weights;
    }
}
